﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ifunction.ReflectionCommandSample
{
    public static class Commands
    {
        /// <summary>
        /// Adds the specified executable.
        /// </summary>
        /// <param name="x">The executable.</param>
        /// <param name="y">The asynchronous.</param>
        /// <returns>System.Double.</returns>
        public static double Add(double x, double y)
        {
            return x + y;
        }

        /// <summary>
        /// Calculates the specified executable.
        /// </summary>
        /// <param name="x">The executable.</param>
        /// <param name="y">The asynchronous.</param>
        /// <returns>System.Double.</returns>
        public static double Calculate(double x, double y)
        {
            return (x + y) * (x);
        }
    }
}
